<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://unpkg.com/vue@next"></script>
</head>
<body>
    <div id="bind-attribute">
        <span :title='message'>
            鼠标悬停几秒钟查看此处动态绑定的信息！
        </span>
    </div>

    <script>
        const attributeBinding={
            data(){
                return{
                    message:"you loaded this page on "+
                            new Date().toLocaleString()
                }
            }
        }
        const app = Vue.createApp(attributeBinding)
        app.mount('#bind-attribute')
    </script>
</body>
</html>